package org.itboys.mobile.service.mongo.site;

import org.itboys.mobile.entity.mongo.JoinPartner;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 作者：zzq
 * 时间：2018/1/17
 * 描述：加盟网_合伙人
 */
@Service
public class JoinSitePartnerService extends BaseMongoService<JoinPartner>{
    @Resource(name = "mobileDs")
    private MongoDataSource mobileDataSource;
    @Override
    protected MongoDataSource getMongoDataSource() {
        return mobileDataSource;
    }

    @Override
    protected Class<JoinPartner> getEntityClass() {
        return JoinPartner.class;
    }


}
